package com.mysql.test;

import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;

public class Service {
	public void login(){
		Connection connection = null;
		PreparedStatement statement = null;
		ResultSet resultSet = null;
		
		try{
			connection = Mysql.createConnection();
			statement = connection.prepareStatement("select * from ");
		} catch (ClassNotFoundException | SQLException e) {
			e.printStackTrace();
		}finally{
			Mysql.close(resultSet, statement, connection);
		}
	}
}
